package com.dodoke.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 微信小程序用户和角色关联对象 sys_wechat_user_role
 *
 * @author ezreal_geng
 * @date 2020-08-27
 */
public class SysWechatUserRoleDO {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private String wechatUserId;

    /**
     * 角色ID
     */
    private Long roleId;

    public void setWechatUserId(String wechatUserId) {
        this.wechatUserId = wechatUserId;
    }

    public String getWechatUserId() {
        return wechatUserId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getRoleId() {
        return roleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("wechatUserId", getWechatUserId())
                .append("roleId", getRoleId())
                .toString();
    }
}
